package com.bangdream.michelia.entity;

import com.google.gson.Gson;

/**
 * @date on 2018/8/2 21:12
 * @email 909732184@qq.com
 * 首页推荐实体类
 */
public class RecommendBean {

    /**
     * id : e237064495684b40a0ad48d27be7cb3b
     * createBy : 1
     * createDate : 2018-07-31 14:48:30
     * updateBy : 1
     * updateDate : 2018-07-31 14:48:30
     * delFlag : 0
     * pageNo : 1
     * pageSize : 100
     * title : banner1
     * content : 测试推荐
     * cover : http://inesa-test.oss-cn-shanghai.aliyuncs.com/byl/1533020033308827314.jpg
     * href : javascript:;
     * state : 1
     * audit : 1
     * sort : 10
     */

    private String id;
    private String createBy;
    private String createDate;
    private String updateBy;
    private String updateDate;
    private String delFlag;
    private int pageNo;
    private int pageSize;
    private String title;
    private String content;
    private String cover;
    private String href;
    private String state;
    private String audit;
    private String sort;

    @Override
    public String toString() {
        return new Gson().toJson(this);
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public String getCreateDate() {
        return createDate;
    }

    public void setCreateDate(String createDate) {
        this.createDate = createDate;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public String getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(String updateDate) {
        this.updateDate = updateDate;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public int getPageNo() {
        return pageNo;
    }

    public void setPageNo(int pageNo) {
        this.pageNo = pageNo;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getCover() {
        return cover;
    }

    public void setCover(String cover) {
        this.cover = cover;
    }

    public String getHref() {
        return href;
    }

    public void setHref(String href) {
        this.href = href;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getAudit() {
        return audit;
    }

    public void setAudit(String audit) {
        this.audit = audit;
    }

    public String getSort() {
        return sort;
    }

    public void setSort(String sort) {
        this.sort = sort;
    }
}
